package grammer.son;

import grammer.parent.Parent;

public class Son extends Parent {

    private void display(){
        System.out.println("子类");
    }

    public void display2(){
        System.out.println("子类2");
    }

    public static void main(String[] args) {
        Parent p=new Son();
//        p.display();
    }
}
